<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Director | User Manage</title>
    <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
    <meta name="description" content="Developed By M Abdur Rokib Promy">
    <meta name="keywords" content="Admin, Bootstrap 3, Template, Theme, Responsive">
    <!-- bootstrap 3.0.2 -->
    <link href="../css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
    <!-- font Awesome -->
    <link href="../css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
    <!-- Ionicons -->
    <link href="../css/ionicons.min.css" rel="stylesheet" type="text/css"/>

    <!-- Theme style -->
    <link href="../css/style.css" rel="stylesheet" type="text/css"/>

    <link href="../css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
    <!-- font Awesome -->
    <link href="../css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
    <!-- Ionicons -->
    <link href="../css/ionicons.min.css" rel="stylesheet" type="text/css"/>
    <!-- Morris chart -->
    <link href="../css/morris/morris.css" rel="stylesheet" type="text/css"/>
    <!-- jvectormap -->
    <link href="../css/jvectormap/jquery-jvectormap-1.2.2.css" rel="stylesheet" type="text/css"/>
    <!-- Date Picker -->
    <link href="../css/datepicker/datepicker3.css" rel="stylesheet" type="text/css"/>
    <!-- fullCalendar -->
    <!-- <link href="css/fullcalendar/fullcalendar.css" rel="stylesheet" type="text/css" /> -->
    <!-- Daterange picker -->
    <link href="../css/daterangepicker/daterangepicker-bs3.css" rel="stylesheet" type="text/css"/>
    <!-- iCheck for checkboxes and radio inputs -->
    <link href="../css/iCheck/all.css" rel="stylesheet" type="text/css"/>
    <!-- bootstrap wysihtml5 - text editor -->

    <!-- Theme style -->
    <link href="../css/style.css" rel="stylesheet" type="text/css"/>
    <link href="../images" rel="stylesheet" type="text/css">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
    <script src="bootstrap.min.js"></script>


    <style type="text/css">
        table.altrowstable {
            font-family: verdana, arial, sans-serif;
            font-size: 11px;
            color: #d4e3e5;
            border-width: 1px;
            border-color: #d4e3e5;

            border-collapse: collapse;
        }

        table.altrowstable th {
            border-width: 1px;
            padding: 8px;
            border-style: solid;
            border-color: #d4e3e5;
        }

        table.altrowstable td {
            border-width: 1px;
            padding: 8px;
            border-style: solid;
            border-color: #d4e3e5;
        }

        .oddrowcolor {
            background-color: #d4e3e5;
        }

        .evenrowcolor {
            background-color: #d4e3e5;
        }

        table.hovertable {
            font-family: verdana, arial, sans-serif;
            font-size: 11px;
            color: #d4e3e5;
            border-width: 1px;
            border-color: #d4e3e5;
            border-collapse: collapse;
        }

        table.hovertable th {
            background-color: #d4e3e5;
            border-width: 1px;
            padding: 8px;
            border-style: solid;
            border-color: #d4e3e5;
        }

        table {
            background-color: #d4e3e5;
        }

        table.hovertable tr {
            background-color: #d4e3e5;
        }

        table.hovertable td {
            border-width: 1px;
            padding: 8px;
            border-style: solid;
            border-color: #d4e3e5;
        }
    </style>
    <![endif]-->
</head>
<body class="skin-black">
<!-- header logo: style can be found in header.less -->
<header class="header">
    <a href="productManage.html" class="logo">
        <!-- Add the class icon to your logo image or logo icon to add the margining -->
        Manager
    </a>
    <!-- Header Navbar: style can be found in header.less -->
    <nav class="navbar navbar-static-top" role="navigation">
        <!-- Sidebar toggle button-->
        <a href="#" class="navbar-btn sidebar-toggle" data-toggle="offcanvas" role="button">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
        </a>
        <div class="navbar-right">
            <ul class="nav navbar-nav">
                <!-- Messages: style can be found in dropdown.less-->
                <li class="dropdown messages-menu">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        <i class="fa fa-envelope"></i>
                        <span class="label label-success">4</span>
                    </a>
                    <ul class="dropdown-menu">
                        <li class="header">You have 4 messages</li>
                        <li>
                            <!-- inner menu: contains the actual data -->
                            <ul class="menu">
                                <li><!-- start message -->
                                    <a href="#">
                                        <div class="pull-left">
                                            <img src="../img/avatar3.png" class="img-circle" alt="User Image"/>
                                        </div>
                                        <h4>
                                            Support Team
                                            <small><i class="fa fa-clock-o"></i> 5 mins</small>
                                        </h4>
                                        <p>Why not buy a new awesome theme?</p>
                                    </a>
                                </li><!-- end message -->
                                <li>
                                    <a href="#">
                                        <div class="pull-left">
                                            <img src="../img/avatar2.png" class="img-circle" alt="user image"/>
                                        </div>
                                        <h4>
                                            Director Design Team
                                            <small><i class="fa fa-clock-o"></i> 2 hours</small>
                                        </h4>
                                        <p>Why not buy a new awesome theme?</p>
                                    </a>
                                </li>
                                <li>
                                    <a href="#">
                                        <div class="pull-left">
                                            <img src="../img/avatar.png" class="img-circle" alt="user image"/>
                                        </div>
                                        <h4>
                                            Developers
                                            <small><i class="fa fa-clock-o"></i> Today</small>
                                        </h4>
                                        <p>Why not buy a new awesome theme?</p>
                                    </a>
                                </li>
                                <li>
                                    <a href="#">
                                        <div class="pull-left">
                                            <img src="../img/avatar2.png" class="img-circle" alt="user image"/>
                                        </div>
                                        <h4>
                                            Sales Department
                                            <small><i class="fa fa-clock-o"></i> Yesterday</small>
                                        </h4>
                                        <p>Why not buy a new awesome theme?</p>
                                    </a>
                                </li>
                                <li>
                                    <a href="#">
                                        <div class="pull-left">
                                            <img src="../img/avatar.png" class="img-circle" alt="user image"/>
                                        </div>
                                        <h4>
                                            Reviewers
                                            <small><i class="fa fa-clock-o"></i> 2 days</small>
                                        </h4>
                                        <p>Why not buy a new awesome theme?</p>
                                    </a>
                                </li>
                            </ul>
                        </li>
                        <li class="footer"><a href="#">See All Messages</a></li>
                    </ul>
                </li>
                <li class="dropdown tasks-menu">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        <i class="fa fa-tasks"></i>
                        <span class="label label-danger">9</span>
                    </a>
                    <ul class="dropdown-menu">

                        <li class="header">You have 9 tasks</li>
                        <li>
                            <!-- inner menu: contains the actual data -->
                            <ul class="menu">
                                <li><!-- Task item -->
                                    <a href="#">
                                        <h3>
                                            Design some buttons
                                            <small class="pull-right">20%</small>
                                        </h3>
                                        <div class="progress progress-striped xs">
                                            <div class="progress-bar progress-bar-success" style="width: 20%"
                                                 role="progressbar" aria-valuenow="20" aria-valuemin="0"
                                                 aria-valuemax="100">
                                                <span class="sr-only">20% Complete</span>
                                            </div>
                                        </div>
                                    </a>
                                </li><!-- end task item -->
                                <li><!-- Task item -->
                                    <a href="#">
                                        <h3>
                                            Create a nice theme
                                            <small class="pull-right">40%</small>
                                        </h3>
                                        <div class="progress progress-striped xs">
                                            <div class="progress-bar progress-bar-danger" style="width: 40%"
                                                 role="progressbar" aria-valuenow="20" aria-valuemin="0"
                                                 aria-valuemax="100">
                                                <span class="sr-only">40% Complete</span>
                                            </div>
                                        </div>
                                    </a>
                                </li><!-- end task item -->
                                <li><!-- Task item -->
                                    <a href="#">
                                        <h3>
                                            Some task I need to do
                                            <small class="pull-right">60%</small>
                                        </h3>
                                        <div class="progress progress-striped xs">
                                            <div class="progress-bar progress-bar-info" style="width: 60%"
                                                 role="progressbar" aria-valuenow="20" aria-valuemin="0"
                                                 aria-valuemax="100">
                                                <span class="sr-only">60% Complete</span>
                                            </div>
                                        </div>
                                    </a>
                                </li><!-- end task item -->
                                <li><!-- Task item -->
                                    <a href="#">
                                        <h3>
                                            Make beautiful transitions
                                            <small class="pull-right">80%</small>
                                        </h3>
                                        <div class="progress progress-striped xs">
                                            <div class="progress-bar progress-bar-warning" style="width: 80%"
                                                 role="progressbar" aria-valuenow="20" aria-valuemin="0"
                                                 aria-valuemax="100">
                                                <span class="sr-only">80% Complete</span>
                                            </div>
                                        </div>
                                    </a>
                                </li><!-- end task item -->
                            </ul>
                        </li>
                        <li class="footer">
                            <a href="#">View all tasks</a>
                        </li>

                    </ul>
                </li>
                <!-- User Account: style can be found in dropdown.less -->
                <li class="dropdown user user-menu">

                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        <i class="fa fa-user"></i>
                        <span>Chengsheng Zhang<i class="caret"></i></span>
                    </a>
                    <ul class="dropdown-menu dropdown-custom dropdown-menu-right">
                        <li class="dropdown-header text-center">Account</li>

                        <li>
                            <a href="#">
                                <i class="fa fa-clock-o fa-fw pull-right"></i>
                                <span class="badge badge-success pull-right">10</span> Updates</a>
                            <a href="#">
                                <i class="fa fa-envelope-o fa-fw pull-right"></i>
                                <span class="badge badge-danger pull-right">5</span> Messages</a>
                            <a href="#"><i class="fa fa-magnet fa-fw pull-right"></i>
                                <span class="badge badge-info pull-right">3</span> Subscriptions</a>
                            <a href="#"><i class="fa fa-question fa-fw pull-right"></i> <span class=
                                                                                                      "badge pull-right">11</span>
                                FAQ</a>
                        </li>

                        <li class="divider"></li>

                        <li>
                            <a href="#">
                                <i class="fa fa-user fa-fw pull-right"></i>
                                Profile
                            </a>
                            <a data-toggle="modal" href="#modal-user-settings">
                                <i class="fa fa-cog fa-fw pull-right"></i>
                                Settings
                            </a>
                        </li>

                        <li class="divider"></li>

                        <li>
                            <a href="#"><i class="fa fa-ban fa-fw pull-right"></i> Logout</a>
                        </li>
                    </ul>

                </li>
            </ul>
        </div>
    </nav>
</header>
<div class="wrapper row-offcanvas row-offcanvas-left">
    <!-- Left side column. contains the logo and sidebar -->
    <aside class="left-side sidebar-offcanvas">
        <!-- sidebar: style can be found in sidebar.less -->
        <section class="sidebar">
            <!-- Sidebar user panel -->
            <div class="user-panel">
                <div class="pull-left image">
                    <img src="../img/avatar3.png" class="img-circle" alt="User Image"/>
                </div>
                <div class="pull-left info">
                    <p>Hello, zcs</p>

                    <a href="#"><i class="fa fa-circle text-success"></i> Online</a>
                </div>
            </div>
            <!-- search form -->
            <form action="#" method="get" class="sidebar-form">
                <div class="input-group">
                    <input type="text" name="q" class="form-control" placeholder="Search..."/>
                    <span class="input-group-btn">
                                <button type='submit' name='seach' id='search-btn' class="btn btn-flat"><i
                                        class="fa fa-search"></i></button>
                            </span>
                </div>
            </form>
            <!-- /.search form -->
            <!-- sidebar menu: : style can be found in sidebar.less -->
            <ul class="sidebar-menu">
                <li>
                    <a href="/houtai/productManage">
                        <i class="fa fa-dashboard"></i> <span>Catagory Manage</span>
                    </a>
                </li>
                <li>
                    <a href="/houtai/general">
                        <i class="fa fa-gavel"></i> <span>Order Manage</span>
                    </a>
                </li>

                <li class="active">
                    <a href="/houtai/basic_form">
                        <i class="fa fa-globe"></i> <span>User Manage</span>
                    </a>
                </li>

                <li>
                    <a href="/houtai/simple">
                        <i class="fa fa-glass"></i> <span>Other Operation</span>
                    </a>
                </li>

            </ul>
        </section>
        <!-- /.sidebar -->
    </aside>

    <!-- Right side column. Contains the navbar and content of the page -->
    <aside class="right-side">
        <!-- Content Header (Page header) -->


        <!-- Main content -->
        <section class="content">
            <div class="row">
                <div class="col-lg-6">
                    <section class="panel">
                        <div class="panel-body">

                            <form action="/houtai/searchUser" method="get">

                                <div class="input-group">

                                    <input type="text" name="username" placeholder="Search username"/>
                                    <input type="password" name="password" placeholder="Search password"/>
                                    <span  style=" margin-left:160px;">
                                <button type='submit' name='search'>搜索</button>
                                  <button type="button" ><a th:href="@{/houtai/basic_form}">刷新</a></button>

                                    </span>







                                </div>
                            </form>
                            <div style="overflow:scroll; overflow-x: auto;overflow-y: auto;height: 350px">

                                <table align="center" class="altrowstable hovertable" id="alternatecolor" width="300"
                                       th:height="300" bgcolor="#d4e3e5">
                                    <tr style="background-color:#d4e3e5;"
                                        onmouseover="this.style.backgroundColor='#1b7e5a';"
                                        onmouseout="this.style.backgroundColor='#d4e3e5';">

                                        <th>username</th>
                                        <th>password</th>
                                        <th align="center">email</th>
                                        <th>firstName</th>
                                        <th>lastName</th>
                                        <th>status</th>
                                        <th>address1</th>
                                        <th>address2</th>
                                        <th>city</th>
                                        <th>state</th>
                                        <th>zip</th>
                                        <th>country</th>
                                        <th>phone</th>
                                        <th>favouriteCategoryId</th>
                                        <th>languagePreference</th>
                                        <th> listOption</th>
                                        <th> bannerOption</th>
                                        <th>operation1</th>


                                    <tr th:each="account:${AccountList}"
                                        style="background-color:#d4e3e5;"
                                        onmouseover="this.style.backgroundColor='#1b7e5a';"
                                        onmouseout="this.style.backgroundColor='#d4e3e5';">


                                        <td th:text="${account.username}"></td>
                                        <td th:text="${account.password}"></td>
                                        <td th:text="${account.email}"></td>
                                        <td th:text="${account.firstName}"></td>
                                        <td th:text="${account.lastName}"></td>
                                        <td th:text="${account.status}"></td>
                                        <td th:text="${account.address1}"></td>
                                        <td th:text="${account.address2}"></td>
                                        <td th:text="${account.city}"></td>
                                        <td th:text="${account.state}"></td>
                                        <td th:text="${account.zip}"></td>
                                        <td th:text="${account.country}"></td>
                                        <td th:text="${account.phone}"></td>
                                        <td th:text="${account.favouriteCategoryId}"></td>
                                        <td th:text="${account.languagePreference}"></td>
                                        <td th:text="${account. listOption}"></td>
                                        <td th:text="${account. bannerOption}"></td>
                                        <td>
                                            <button title="" data-placement="bottom" data-toggle="tooltip "
                                                    class="btn  red" type="button" style="background-color:white;">
                                                <a th:href="@{/houtai/changeAccount(username=${account.getUsername()})}">
                                                    change</a>
                                            </button>
                                        </td>
                                    </tr>


                                </table>
                            </div>

                        </div>
                    </section>
                </div>
                <div class="col-lg-6">
                    <section class="panel">
                        <header class="panel-heading">
                            Change UserPassword
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <a href="#myModal" data-toggle="modal" class="btn btn-xs">
                                CHANGE DETAIL
                            </a>
                        </header>

                        <div aria-hidden="true" aria-labelledby="myModalLabel" role="dialog" tabindex="-1" id="myModal"
                             class="modal fade">
                            <div class="modal-dialog">
                                <div class="modal-content">
                                    <div class="modal-header">
                                        <button aria-hidden="true" data-dismiss="modal" class="close" type="button">×
                                        </button>
                                        <h4 class="modal-title">Form Tittle</h4>
                                    </div>
                                    <div class="modal-body">


                                        <form role="form" class="form-horizontal tasi-form" method="get"
                                              action="/houtai/changeAccount2">
                                            <div class="form-group">

                                                <label class="col-sm-2 col-sm-2 control-label" required>User ID:

                                                </label>

                                                <div class="col-sm-10">
                                                    <input type="text" name="username"
                                                           class="form-control" readonly th:value="${Username}">
                                                </div>
                                            </div>
                                            <div class="form-group">

                                                <label class="col-sm-2 col-sm-2 control-label" required>password:

                                                </label>

                                                <div class="col-sm-10">
                                                    <input type="text" name="password"
                                                           class="form-control" readonly th:value="${PASSWORD}">
                                                </div>
                                            </div>


                                            <div class="form-group">
                                                <label class="col-sm-2 col-sm-2 control-label">First name:</label>
                                                <div class="col-sm-10">
                                                    <input type="text" name="firstName" class="form-control"
                                                           th:value="${firstName}">
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-sm-2 col-sm-2 control-label">Last name:</label>
                                                <div class="col-sm-10">
                                                    <input type="text" name="lastName" class="form-control"
                                                           th:value="${lastName}">
                                                </div>
                                            </div>
                                            <div class=" form-group">
                                                <label class="col-sm-2 col-sm-2 control-label">Email:</label>
                                                <div class="col-sm-10">
                                                    <input type="text" name="email" class="form-control"
                                                           th:value="${email}">
                                                </div>
                                            </div>
                                            <div class=" form-group">
                                                <label class="col-sm-2 col-sm-2 control-label">Phone:</label>
                                                <div class="col-sm-10">
                                                    <input type="text" name="phone" class="form-control"
                                                           th:value="${phone}">
                                                </div>
                                            </div>
                                            <div class=" form-group">
                                                <label class="col-sm-2 col-sm-2 control-label">Address 1:</label>
                                                <div class="col-sm-10">
                                                    <input type="text" name="address1" class="form-control"
                                                           th:value="${address1}">
                                                </div>
                                            </div>
                                            <div class=" form-group">
                                                <label class="col-sm-2 col-sm-2 control-label">Address
                                                    2:</label>
                                                <div class="col-sm-10">
                                                    <input type="text" name="address2" class="form-control"
                                                           th:value="${address2}">
                                                </div>
                                            </div>
                                            <div class=" form-group">
                                                <label class="col-sm-2 col-sm-2 control-label">City:</label>
                                                <div class="col-sm-10">
                                                    <input type="text" name="city" class="form-control"
                                                           th:value="${city}">
                                                </div>
                                            </div>
                                            <div class=" form-group">
                                                <label class="col-sm-2 col-sm-2 control-label">State:</label>
                                                <div class="col-sm-10">
                                                    <input type="text" name="state" class="form-control"
                                                           th:value="${state}">
                                                </div>
                                            </div>
                                            <div class=" form-group">
                                                <label class="col-sm-2 col-sm-2 control-label">Zip:</label>
                                                <div class="col-sm-10">
                                                    <input type="text" name="zip"
                                                           class="form-control" th:value="${zip}">
                                                </div>
                                            </div>
                                            <div class=" form-group">
                                                <label class="col-sm-2 col-sm-2 control-label">Country:</label>
                                                <div class="col-sm-10">
                                                    <input type="text" name="country"
                                                           class="form-control" th:value="${country}">
                                                </div>
                                            </div>


                                            <div class=" form-group">
                                                <label class="col-sm-2 col-sm-2 control-label">Language
                                                    Preference:</label>
                                                <div class="col-sm-10">
                                                    <select name="languagePreference"
                                                            th:if="${languagePreference} eq 'english'">

                                                        <option value="english"
                                                                selected>english
                                                        </option>
                                                        <option value="japanese">japanese
                                                        </option>
                                                    </select>
                                                    <select name="languagePreference"
                                                            th:if="${languagePreference} eq 'japanese'">

                                                        <option value="english"
                                                        >english
                                                        </option>
                                                        <option value="japanese" selected>japanese
                                                        </option>
                                                    </select>

                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-sm-2 col-sm-2 control-label">Favourite
                                                    Category:</label>
                                                <div class="col-sm-10">
                                                    <select name="favouriteCategoryId"
                                                            th:if="${favouriteCategoryId} eq 'FISH'">
                                                        <option selected="selected" value="FISH">FISH</option>
                                                        <option
                                                                value="DOGS">DOGS
                                                        </option>
                                                        <option value="REPTILES">REPTILES
                                                        </option>
                                                        <option value="CATS">CATS</option>
                                                        <option value="BIRDS">BIRDS</option>
                                                    </select>

                                                    <select name="favouriteCategoryId"
                                                            th:if="${favouriteCategoryId} eq 'DOGS'">
                                                        <option value="FISH">FISH</option>
                                                        <option
                                                                selected="selected" value="DOGS">DOGS
                                                        </option>
                                                        <option value="REPTILES">REPTILES
                                                        </option>
                                                        <option value="CATS">CATS</option>
                                                        <option value="BIRDS">BIRDS</option>
                                                    </select>

                                                    <select name="favouriteCategoryId"
                                                            th:if="${favouriteCategoryId} eq 'REPTILES'">
                                                        <option value="FISH">FISH</option>
                                                        <option
                                                                value="DOGS">DOGS
                                                        </option>
                                                        <option selected="selected" value="REPTILES">REPTILES
                                                        </option>
                                                        <option value="CATS">CATS</option>
                                                        <option value="BIRDS">BIRDS</option>
                                                    </select>

                                                    <select name="favouriteCategoryId"
                                                            th:if="${favouriteCategoryId} eq 'CATS'">
                                                        <option value="FISH">FISH</option>
                                                        <option
                                                                value="DOGS">DOGS
                                                        </option>
                                                        <option value="REPTILES">REPTILES
                                                        </option>
                                                        <option selected="selected" value="CATS">CATS</option>
                                                        <option value="BIRDS">BIRDS</option>
                                                    </select>

                                                    <select name="favouriteCategoryId"
                                                            th:if="${favouriteCategoryId} eq 'BIRDS'">
                                                        <option value="FISH">FISH</option>
                                                        <option
                                                                value="DOGS">DOGS
                                                        </option>
                                                        <option value="REPTILES">REPTILES
                                                        </option>
                                                        <option value="CATS">CATS</option>
                                                        <option selected="selected" value="BIRDS">BIRDS</option>
                                                    </select>

                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="col-sm-2 col-sm-2 control-label">Enable
                                                    MyList</label>
                                                <div class="col-sm-10">
                                                    <input type="checkbox" name="listOption"
                                                           th:checked="${listOption}"/>

                                                </div>
                                            </div>
                                            <div>
                                                <div class="form-group">
                                                    <label class="col-sm-2 col-sm-2 control-label">Enable
                                                        MyBanner</label>
                                                    <div class="col-sm-10">
                                                        <input type="checkbox"
                                                               name="bannerOption" th:checked="${bannerOption}"/>
                                                    </div>
                                                </div>


                                                <label><input type="submit" value="amend"
                                                              class="btn btn-info"
                                                ></label>


                                            </div>


                                        </form>
                                    </div>
                                </div>
                            </div>
                        </div>


                        <div class="panel-body">
                            <form role="form" action="/houtai/updateAccount" method="get">
                                <div class="form-group">
                                    <label>USERNAME</label>
                                    <!--                                  <p th:text="${Username}"></p>-->
                                    <input type="text" class="form-control" name="Username" th:value="${Username}"
                                           readonly>
                                </div>
                                <div class="form-group">
                                    <label>PASSWORD</label>
                                    <!--                                    <p th:text="${PASSWORD}"></p>-->
                                    <input type="text" class="form-control" name="PASSWORD" th:value="${PASSWORD}"
                                           readonly>
                                    <!--                                    <input type="text" class="form-control" name="">-->
                                </div>
                                <div class="form-group">
                                    <label>NEW PASSWORD</label>
                                    <input type="text" class="form-control" name="newpassword">
                                    <!--                                    <p class="help-block">Example block-level help text here.</p>-->
                                </div>
                                <div class="form-group">
                                    <label th:text="${msg}"></label>
                                </div>

                                <div class="checkbox">
                                    <label><input id="checkbox" type="checkbox" name="rule">check me out</label>
                                </div>

                                <!--                                <a th:href="@{/houtai/changeAccount(username=${account.getUsername()})}"> change</a>-->
                                <label><input id="submit" type="submit" value="Submit" class="btn btn-info"></label>
                                <p th:text="${msg2}" style="color: red"></p>
                            </form>

                        </div>

                        <script>
                            window.onload = function () {

                                /*在gameid增加对检查按钮的验证*/
                                var submitBtn = document.getElementById("submit");

                                submitBtn.onclick = function () {
                                    if (!document.getElementById("checkbox").checked) {
                                        alert("请核对信息,并勾选按钮!");
                                        return false;
                                    }
                                };
                            }
                        </script>


                    </section>
                </div>

            </div><!--row1-->
            <div class="row">
                <div class="col-md-12">
                    <section class="panel">
                        <header class="panel-heading">
                            INSERT USER
                        </header>


                        <div class="panel-body">
                            <form class="form-horizontal tasi-form" method="get" action="/houtai/insertAccount">
                                <div class="form-group">

                                    <label class="col-sm-2 col-sm-2 control-label" required>User ID:
                                        <span style="color:red;">* </span>
                                    </label>

                                    <div class="col-sm-10">
                                        <input type="text" name="username" id="username"
                                               class="form-control" placeholder="please enter username">
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label class="col-sm-2 col-sm-2 control-label">New password:
                                        <span style="color:red;">* </span>
                                    </label>
                                    <div class="col-sm-10">
                                        <input type="text" name="password" class="form-control"
                                               placeholder="please enter password" required>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 col-sm-2 control-label">Repeat password:
                                        <span style="color:red;">* </span>
                                    </label>
                                    <div class="col-sm-10">
                                        <input type="text" name="repeatedPassword" class="form-control"
                                               placeholder="please repeate Password" required>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 col-sm-2 control-label">First name:</label>
                                    <div class="col-sm-10">
                                        <input type="text" name="firstName" class="form-control"
                                               placeholder="please enter First name">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 col-sm-2 control-label">Last name:</label>
                                    <div class="col-sm-10">
                                        <input type="text" name="lastName" class="form-control"
                                               placeholder="please enter Last name">
                                    </div>
                                </div>
                                <div class=" form-group">
                                    <label class="col-sm-2 col-sm-2 control-label">Email:</label>
                                    <div class="col-sm-10">
                                        <input type="text" name="email" class="form-control"
                                               placeholder="please enter Email">
                                    </div>
                                </div>
                                <div class=" form-group">
                                    <label class="col-sm-2 col-sm-2 control-label">Phone:</label>
                                    <div class="col-sm-10">
                                        <input type="text" name="phone" class="form-control"
                                               placeholder="please enter Phone">
                                    </div>
                                </div>
                                <div class=" form-group">
                                    <label class="col-sm-2 col-sm-2 control-label">Address 1:</label>
                                    <div class="col-sm-10">
                                        <input type="text" name="address1" class="form-control"
                                               placeholder="please enter Address 1">
                                    </div>
                                </div>
                                <div class=" form-group">
                                    <label class="col-sm-2 col-sm-2 control-label">Address
                                        2:</label>
                                    <div class="col-sm-10">
                                        <input type="text" name="address2" class="form-control"
                                               placeholder="please enter Address 2">
                                    </div>
                                </div>
                                <div class=" form-group">
                                    <label class="col-sm-2 col-sm-2 control-label">City:</label>
                                    <div class="col-sm-10">
                                        <input type="text" name="city" class="form-control"
                                               placeholder="please enter City">
                                    </div>
                                </div>
                                <div class=" form-group">
                                    <label class="col-sm-2 col-sm-2 control-label">State:</label>
                                    <div class="col-sm-10">
                                        <input type="text" name="state" class="form-control"
                                               placeholder="please enter State">
                                    </div>
                                </div>
                                <div class=" form-group">
                                    <label class="col-sm-2 col-sm-2 control-label">Zip:</label>
                                    <div class="col-sm-10">
                                        <input type="text" name="zip"
                                               class="form-control" placeholder="please enter Zip">
                                    </div>
                                </div>
                                <div class=" form-group">
                                    <label class="col-sm-2 col-sm-2 control-label">Country:</label>
                                    <div class="col-sm-10">
                                        <input type="text" name="country"
                                               class="form-control" placeholder="please enter Country">
                                    </div>
                                </div>


                                <div class=" form-group">
                                    <label class="col-sm-2 col-sm-2 control-label">Language
                                        Preference:</label>
                                    <div class="col-sm-10">
                                        <select name="languagePreference">
                                            <option value="english"
                                                    selected="selected">english
                                            </option>
                                            <option value="japanese">japanese
                                            </option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 col-sm-2 control-label">Favourite
                                        Category:</label>
                                    <div class="col-sm-10">
                                        <select name="favouriteCategoryId">
                                            <option value="FISH">FISH</option>
                                            <option selected="selected"
                                                    value="DOGS">DOGS
                                            </option>
                                            <option value="REPTILES">REPTILES
                                            </option>
                                            <option value="CATS">CATS</option>
                                            <option value="BIRDS">BIRDS</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-2 col-sm-2 control-label">Enable
                                        MyList</label>
                                    <div class="col-sm-10">
                                        <input type="checkbox"
                                               name="listOption"/>
                                    </div>
                                </div>
                                <div>
                                    <div class="form-group">
                                        <label class="col-sm-2 col-sm-2 control-label">Enable
                                            MyBanner</label>
                                        <div class="col-sm-10">
                                            <input type="checkbox"
                                                   name="bannerOption"/>
                                        </div>
                                    </div>
                                    <p th:text="${msg3}" style="color: red"></p>

                                    <label><input type="submit" value="submit"
                                                  class="btn btn-info"
                                    ></label>
                                    <label><input type="reset" value="reset"
                                                  class="btn btn-info"></label>


                                    <div class="form-group">
                                        <label class="col-lg-2 col-sm-2 control-label"
                                               style="color: red">Attention!</label>
                                        <div class="col-lg-10">
                                            <p class="form-control-static">
                                                Copyright ownership belong to
                                                zcs,lzj,zyp,xyd</p>
                                        </div>
                                    </div>
                                </div>
                            </form>


                        </div>
                    </section>
                </div>
            </div>

        </section><!-- /.content -->
    </aside><!-- /.right-side -->
</div><!-- ./wrapper -->

<!-- jQuery 2.0.2 -->
<script src="../js/jquery.min.js" type="text/javascript"></script>
<!-- Bootstrap -->
<script src="../js/bootstrap.min.js" type="text/javascript"></script>
<!-- Director App -->
<script src="../js/Director/app.js" type="text/javascript"></script>

<!--雪花飘落特效-->
<script src="http://www.lmlblog.com/winter/templets/xq/js/snowy.js"></script>
<script src="http://www.lmlblog.com/blog/12/js/Snow.js"></script>
<style type="text/css">
    .snow-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 100001;
    }
</style>
<div class="snow-container"></div>

<!--点击爱心特效-->
<script type="text/javascript">
    //需要jquery插件
    /* 鼠标特效 */
    var a_idx = 0;
    jQuery(document).ready(function ($) {
        $("body").click(function (e) {
            var a = new Array("❤不做咸鱼！❤", "❤拒绝懒惰！❤", "❤想做吃货❤", "❤向大佬学习❤", "❤扶我起来~❤", "❤come on❤", "❤一直在路上~❤", "❤累了~❤", "❤再趴一会❤", "❤66666❤", "❤高兴的飞起*****❤");
            var $i = $("<span></span>").text(a[a_idx]);
            a_idx = (a_idx + 1) % a.length;
            var x = e.pageX,
                y = e.pageY;
            $i.css({
                "z-index": 999999999999999999999999999999999999999999999999999999999999999999999,
                "top": y - 20,
                "left": x,
                "position": "absolute",
                "font-weight": "bold",
                "color": "rgb(" + ~~(255 * Math.random()) + "," + ~~(255 * Math.random()) + "," + ~~(255 * Math.random()) + ")"
            });
            $("body").append($i);
            $i.animate({
                    "top": y - 180,
                    "opacity": 0
                },
                1500,
                function () {
                    $i.remove();
                });
        });
    });
</script>

<script>
    !function (e, t, a) {
        function n() {
            c(".heart{width: 10px;height: 10px;position: fixed;background: #f00;transform: rotate(45deg);-webkit-transform: rotate(45deg);-moz-transform: rotate(45deg);}.heart:after,.heart:before{content: '';width: inherit;height: inherit;background: inherit;border-radius: 50%;-webkit-border-radius: 50%;-moz-border-radius: 50%;position: fixed;}.heart:after{top: -5px;}.heart:before{left: -5px;}"), o(), r()
        }

        function r() {
            for (var e = 0; e < d.length; e++) d[e].alpha <= 0 ? (t.body.removeChild(d[e].el), d.splice(e, 1)) : (d[e].y--, d[e].scale += .004, d[e].alpha -= .013, d[e].el.style.cssText = "left:" + d[e].x + "px;top:" + d[e].y + "px;opacity:" + d[e].alpha + ";transform:scale(" + d[e].scale + "," + d[e].scale + ") rotate(45deg);background:" + d[e].color + ";z-index:99999");
            requestAnimationFrame(r)
        }

        function o() {
            var t = "function" == typeof e.onclick && e.onclick;
            e.onclick = function (e) {
                t && t(), i(e)
            }
        }

        function i(e) {
            var a = t.createElement("div");
            a.className = "heart", d.push({
                el: a,
                x: e.clientX - 5,
                y: e.clientY - 5,
                scale: 1,
                alpha: 1,
                color: s()
            }), t.body.appendChild(a)
        }

        function c(e) {
            var a = t.createElement("style");
            a.type = "text/css";
            try {
                a.appendChild(t.createTextNode(e))
            } catch (t) {
                a.styleSheet.cssText = e
            }
            t.getElementsByTagName("head")[0].appendChild(a)
        }

        function s() {
            return "rgb(" + (255 * Math.random()) + "," + (255 * Math.random()) + "," + ~~(255 * Math.random()) + ")"
        }

        var d = [];
        e.requestAnimationFrame = function () {
        }(), n()
    }(window, document);
</script>

</body>
</html>
